package org.fuys.coder.domain.auth.service.handler.login;

import org.fuys.coder.common.entity.Pair;
import org.fuys.coder.common.exception.BusinessException;
import org.fuys.coder.domain.auth.model.req.LoginReq;
import org.fuys.coder.domain.auth.model.vo.UserVo;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.service.handler.login
 * @className: LoginHandler
 * @author: WangJing
 * @description: 注册时处理器接口
 * @date: 2024/8/9 17:21
 * @version: 1.0
 */
public interface LoginHandler {
    Pair<Integer, UserVo> handle(LoginReq req) throws BusinessException;
}
